define(['modelA'], function(modelA) {
    return {
       average(...args){
          let sum=modelA.sum(...args);
          return sum/args.length;
       }
    }
});